/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.spider.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.spider.entity.StackoverflowUser;
import com.thinkgem.jeesite.modules.spider.dao.StackoverflowUserDao;

/**
 * stackoverflow用户Service
 * @author hongye
 * @version 2017-04-11
 */
@Service
@Transactional(readOnly = true)
public class StackoverflowUserService extends CrudService<StackoverflowUserDao, StackoverflowUser> {

	public StackoverflowUser get(String id) {
		return super.get(id);
	}
	
	public List<StackoverflowUser> findList(StackoverflowUser stackoverflowUser) {
		return super.findList(stackoverflowUser);
	}
	
	public Page<StackoverflowUser> findPage(Page<StackoverflowUser> page, StackoverflowUser stackoverflowUser) {
		return super.findPage(page, stackoverflowUser);
	}
	
	@Transactional(readOnly = false)
	public void save(StackoverflowUser stackoverflowUser) {
		super.save(stackoverflowUser);
	}
	
	@Transactional(readOnly = false)
	public void delete(StackoverflowUser stackoverflowUser) {
		super.delete(stackoverflowUser);
	}
	
}